package cn.demomaster.quickui_sample

import android.app.Activity
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity

class SplashActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        window.decorView.postDelayed({
            var context = this@SplashActivity;
            startActivity(Intent(context, QDMainFragmentActivity().javaClass))//::class.java))
            (context as Activity).finish()
            //PaymentCartActivity.startActivity(this@SplashActivity)
            overridePendingTransition(0, android.R.anim.fade_out)
        },1000)
    }
}